//
//  SendService.h
//  港务移动
//
//  Created by _ADY on 14-6-24.
//  Copyright (c) 2014年 _ADY. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SendService : NSObject

+(void)setSomething;

+(void)customViewDidLoad;
+(NSString*)webString;
+(int)setString:(NSString*)aString setSize:(int)aType setWight:(int)labelWight;
+(int)setString:(NSString*)aString setSize:(int)aType setHight:(int)labelHight;
+ (void)setVarUrl:(NSString *)remember;
+ (NSString *)VarUrl;
+ (void)setaddress:(NSString *)remember;
+ (NSString *)address;
+ (void)setUserAccount:(NSString *)account;
+ (NSString *)userAccount;
+ (void)setPassword:(NSString *)passwd;
+ (NSString *)password;
+(void)alerViewMessage:(NSString*)message;
#pragma mark 邮箱验证
+ (BOOL)validateEmail:(NSString *)email;
#pragma mark 手机号码验证
+ (BOOL) validateMobile:(NSString *)mobile;
#pragma mark 用户名验证
+ (BOOL) validateUserName:(NSString *)name;
#pragma mark 密码验证
+ (BOOL) validatePassword:(NSString *)passWord;
#pragma mark 昵称验证
+ (BOOL) validateNickname:(NSString *)nickname;
#pragma mark 身份证号验证
+ (BOOL)validateIdentityCard: (NSString *)identityCard;


#pragma mark 首页大广告(code=AppHomeAdBig) 首单立减广告(code=AppHomeAdMinus) 品牌特卖广告(code=AppHomeAdBrand) 主题馆广告(code=AppHomeAdShopTheme)
+(NSDictionary*)HomepageADs:(NSMutableDictionary*)postDic;
#pragma mark 秒杀场次列表(code=AppHomeActPanicBuy)
+(NSDictionary*)HomepageSecKill:(NSMutableDictionary*)postDic;
#pragma mark 场次秒杀商品列表
+(NSDictionary*)GetSecKillProductListByPlay:(NSMutableDictionary*)postDic;
#pragma mark 首单立减活动
+(NSDictionary*)ActiveProducts:(NSMutableDictionary*)postDic;
#pragma mark 新品推荐橱窗商品列表(code=AppHomeLayNewPop) 精品推荐橱窗商品列表(code=AppHomeLayGoodPop)
+(NSDictionary*)GetWindowLayoutProductList:(NSMutableDictionary*)postDic;


#pragma mark 首页广告
+(NSDictionary*)HomepageAD;
#pragma mark 商品列表，今日特惠接口
+(NSDictionary*)HomepageTodaySales;
#pragma mark 精品推荐接口
+(NSDictionary*)HomepageFeaturedProducts;
#pragma mark 商品列表
+(NSDictionary*)HomepageCatalogProducts:(NSMutableDictionary *)postData;
#pragma mark 商品详情
+(NSDictionary*)GetDetailProduct:(NSMutableDictionary *)postData;
#pragma mark 登陆
+(NSDictionary*)Login:(NSMutableDictionary *)postData;
#pragma mark 获取购物车列表
+(NSDictionary*)cart;
#pragma mark 获取商品接口为ManageInventoryMethodId = 2  价格、库存等
+(NSDictionary*)GetProductInfoByAttribute:(NSMutableDictionary *)postData;
+(NSDictionary*)GetProductInfoByAttribute:(NSString*)mid source:(NSMutableArray*)source;
#pragma mark 商品评价列表
+(NSDictionary*)ReviewsPage:(NSString*)mid pageNumber:(int)pageNumber;
#pragma mark 猜你喜欢
+(NSDictionary*)InterestingProducts;
#pragma mark 搜索
+(NSDictionary*)GetSearchProducts:(NSMutableDictionary *)postData;
#pragma mark 获取省份列表
+(NSDictionary*)GetStatesByCountryId;
#pragma mark 获取城市列表接口
+(NSDictionary*)GetCityByProvinceId:(NSMutableDictionary *)postData;
#pragma mark 获取县区列表接口
+(NSDictionary*)GetDistrictByCityId:(NSMutableDictionary *)postData;
#pragma mark 获取街道列表接口
+(NSDictionary*)GetStreetByDistrictId:(NSMutableDictionary *)postData;
#pragma mark 商品详情页加入购物车接口 商品详情页加入收藏夹接口
+(NSDictionary*)AddProductToCart_Details:(NSMutableDictionary *)postData;
#pragma mark 商品详情页加入购物车接口 商品详情页加入收藏夹接口
+(NSDictionary*)AddProductToCart_DetailsTwo:(NSMutableDictionary*)postData;
#pragma mark 商品详情取消收藏
+(NSDictionary*)DelWishlistByProductId:(NSMutableDictionary*)postData;
+(NSDictionary*)startGoRequest:(NSString *)urlStr setUserData:(NSMutableDictionary*)postData;
#pragma mark 购物车加入收藏夹接口 购物车或收藏夹类型ID：1表示从收藏夹加入购物车，2表示从购物车加入收藏夹
+(NSDictionary*)AddProductToCart_ShoppingCart:(NSMutableDictionary*)postData;
#pragma mark 商品批量加入收藏夹接口
+(NSDictionary*)AddItemsToWishlistFromCart:(NSMutableDictionary*)postData;
#pragma mark 更新购物车接口
+(NSDictionary*)UpdateCart:(NSMutableDictionary*)postData;
#pragma mark 提交订单接口
+(NSDictionary*)ConfirmOrder:(NSMutableDictionary*)postData;
#pragma mark 结算购物车接口
+(NSDictionary*)CheckoutOrder:(NSMutableDictionary*)postData;


#pragma mark 获取收货地址列表
+(NSDictionary*)Addresses;
#pragma mark 添加收货地址
+(NSDictionary*)AddressAdd:(NSMutableDictionary*)postData;
#pragma mark 根据收货地址ID获取收货地址
+(NSDictionary*)AddressGet:(NSMutableDictionary*)postData;
#pragma mark 编辑保存收货地址
+(NSDictionary*)AddressEdit:(NSMutableDictionary*)postData;
#pragma mark 根据收货地址ID删除收货地址
+(NSDictionary*)AddressDelete:(NSMutableDictionary*)postData;
#pragma mark 根据收货地址ID设置默认收货地址
+(NSDictionary*)SelectShippingAddress:(NSMutableDictionary*)postData;

#pragma mark 商品分类接口
+(NSDictionary*)GetStoreCategories;

#pragma mark 店铺基本信息
+(NSDictionary*)GetShopInfoById:(NSMutableDictionary *)postData;
#pragma mark 店铺列表
+(NSDictionary*)GetSearchShops:(NSMutableDictionary *)postData;
#pragma mark 店铺分类接口
+(NSDictionary*)GetShopCategoriesById:(NSMutableDictionary *)postData;
#pragma mark 店铺商品列表
+(NSDictionary*)GetProductsByShopCategoryId:(NSMutableDictionary *)postData;


#pragma mark 订单列表
+(NSDictionary*)GetSimpleOrders:(NSMutableDictionary *)postData;
#pragma mark 订单明细列表
+(NSDictionary*)GetOrderDetailById:(NSMutableDictionary *)postData;
#pragma mark 订单详情
+(NSDictionary*)GetOrderModelById:(NSMutableDictionary *)postData;
#pragma mark 获取某类订单数量
+(NSDictionary*)GetOrderNum:(NSMutableDictionary *)postData;
#pragma mark 确认收货
+(NSDictionary*)SetAsDelivered:(NSMutableDictionary *)postData;
#pragma mark 取消订单
+(NSDictionary*)CancelOrder:(NSMutableDictionary *)postData;
#pragma mark 客户订单记录删除
+(NSDictionary*)SetCustomerDeleteStatus:(NSMutableDictionary *)postData;

+(NSDictionary*)setUrl:(NSURL*)url setNSMutableData:(NSMutableData*)tempJsonData;
#pragma mark 手机注册
+(NSDictionary*)CustomerRegister:(NSMutableDictionary *)postData;

#pragma mark 个人中心-评价
+(NSDictionary*)ProductReviewsAdd:(NSMutableDictionary *)postData;
#pragma mark 个人中心-晒单
+(NSDictionary*)SharePictureAdd:(NSMutableDictionary *)postData;

#pragma mark 订单支付接口
+(NSDictionary*)GetOrderPayingUrl:(NSMutableDictionary *)postData;
#pragma mark 个人信息接口
+(NSDictionary*)SaveInfo:(NSMutableDictionary *)postData;
#pragma mark 修改个人密码接口
+(NSDictionary*)PasswordChange:(NSMutableDictionary *)postData;
#pragma mark 获取用户购物车收藏夹数量接口
+(NSDictionary*)GetShoppingCartCount;
#pragma mark 获取收藏夹列表
+(NSDictionary*)Wishlist:(NSMutableDictionary *)postData;
#pragma mark 获取收藏店铺列表
+(NSDictionary*)FavoriteShopList:(NSMutableDictionary *)postData;
#pragma mark 摇一摇
+(NSDictionary*)Lottery:(NSMutableDictionary *)postData;
#pragma mark 摇一摇规则
+(NSDictionary*)LotteryInfo:(NSMutableDictionary *)postData;
#pragma mark 我的优惠券接口
+(NSDictionary*)MyCoupon:(NSMutableDictionary *)postData;
#pragma mark 领取优惠券接口
+(NSDictionary*)ReceiveCoupons:(NSMutableDictionary *)postData;
#pragma mark 领取某优惠券
+(NSDictionary*)ImmediatelyReceive:(NSMutableDictionary *)postData;
#pragma mark 金元宝列表
+(NSDictionary*)MyGoldIngot:(NSMutableDictionary *)postData;
#pragma mark 银元宝列表
+(NSDictionary*)MySilverIngot:(NSMutableDictionary *)postData;
#pragma mark 返利列表
+(NSDictionary*)CustomerReferralFeeRecordList:(NSMutableDictionary *)postData;
#pragma mark 更新接口
+(NSDictionary*)CheckVer:(NSMutableDictionary *)postData;
#pragma mark 店铺收藏
+(NSDictionary*)FavoriteShopInsert:(NSMutableDictionary *)postData;
#pragma mark 取消店铺收藏
+(NSDictionary*)FavoriteShopDelete:(NSMutableDictionary *)postData;
@end
